package com.hushao.aimi.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDateTime;

/**
 * @author 胡少
 * 推荐信息
 */
@Data
@ApiModel("推荐信息")
public class RecommendVo implements Serializable {

    private Integer recommendId;

    @ApiModelProperty("商品id")
    private String productId;

    @ApiModelProperty("商品编号")
    private String productCode;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("推荐编号")
    private String recommendCode;

    @ApiModelProperty("推荐图片")
    private String recommendImage;

    @ApiModelProperty("推荐标题")
    private String recommendTitle;

    @ApiModelProperty("排序")
    private Integer sortOrder;

    @ApiModelProperty("状态")
    private Integer recommendStatus;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("备注")
    private String comment;

    public RecommendVo(String productId, String recommendImage) {
        this.productId = productId;
        this.recommendImage = recommendImage;
    }

    public RecommendVo(String productId, String recommendImage, String recommendTitle, String recommendCode) {
        this.productId = productId;
        this.recommendImage = recommendImage;
        this.recommendTitle = recommendTitle;
        this.recommendCode = recommendCode;
    }

    public RecommendVo(Integer recommendId, String productId, String productCode, String productName, String recommendCode, String recommendImage, String recommendTitle, Integer sortOrder, int recommendStatus, LocalDateTime createTime, LocalDateTime updateTime, String comment) {
        this.recommendId = recommendId;
        this.productId = productId;
        this.productCode = productCode;
        this.productName = productName;
        this.recommendCode = recommendCode;
        this.recommendImage = recommendImage;
        this.recommendTitle = recommendTitle;
        this.sortOrder = sortOrder;
        this.recommendStatus = recommendStatus;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.comment = comment;
    }


}
